<?php
$arrData = $this->arrData;
$arrStatus = array(1=>'Active',2=>'Inactive');
$arrCategory = array(0=>'Bài dự thi',1=>'Đội bóng',2=>'Lịch sử euro');
?>
<form name="frm" action="<?php echo BASE_URL_CLUB.'/admin' ?>" method="post">
<table class="detail_info">
    <tbody>
        <tr>
            <td class="column_left">
                Tiêu đề:
            </td>
            <td class="column_right">
                <?php echo $arrData['title'];?>
            </td>
        </tr>
    <?php if ( $arrData['categoryid'] == $this->categoryConfig['listteam'] ) {?>
        <tr>
            <td class="column_left">
                Sân nhà:
            </td>
            <td class="column_right">
                <?php echo $arrData['home'];?>
            </td>
        </tr>
        <tr>
            <td class="column_left">
                Huấn luyện viên:
            </td>
            <td class="column_right">
                <?php echo $arrData['coachman'];?>
            </td>
        </tr>
        <tr>
            <td class="column_left">
                Giải thưởng:
            </td>
            <td class="column_right">
                <?php echo nl2br($arrData['award']);?>
            </td>
        </tr>
        <tr>
            <td class="column_left">
                Thông tin:
            </td>
            <td class="column_right">
                <?php echo nl2br($arrData['info_club']);?>
            </td>
        </tr>
    <?php }//end if?>
        <tr>
        <td class="column_left">
            Nội dung:
        </td>
        <td class="column_right">
            <?php echo $arrData['content'];?>
        </td>     
    </tr>
    <tr>
        <td class="column_left">
            Thể loại:
        </td>
        <td class="column_right">
             <?php echo $arrCategory[$arrData['categoryid']];  ?>
        </td>
    </tr>
    <tr>
        <td class="column_left">
            Status:
        </td>
        <td class="column_right">
             <?php echo $arrStatus[$arrData['status']];  ?>
        </td>
    </tr>
    <tr>
        <td class="column_left">
            Image:
        </td>
        <td class="column_right">
            <img src="<?php echo UPLOAD_URL_CLUB.$arrData['image'];?>" align="absmiddle" width="200" height="150" />
        </td>
    </tr>
    </tbody>
</table>
<div class="btn_back">
    <input type="submit" style="width: 100px; height: 25px;" name="btn" value="Back">
</div>
</form>
